import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/list',
      component: () => import('../views/ShopList.vue'),
    },
    {
      path: '/add',
      component: () => import('../views/ShopAdd.vue'),
    },
    {
      path: '/distadd',
      component: () => import('../views/DistAdd.vue'),
    },
    {
      path: '/distlist',
      component: () => import('../views/Distlist.vue'),
    },
    {
      path: '/upd',
      component: () => import('../views/DisUpdate.vue'),
    },
    {
      path: '/youlist',
      component: () => import('../views/DisModel.vue'),
    },
    {
      path: '/houseadd',
      component: () => import('../views/House/Houseadd.vue'),
    },
    {
      path: '/houselist',
      component: () => import('../views/House/Houselist.vue'),
    },
    {
      path: '/xiangqing',
      component: () => import('../views/House/Housexiang.vue'),
    },
    {
      path: '/noadd',
      component: () => import('../views/House/Housnoadd.vue'),
    },
    {
      path: '/nolist',
      component: () => import('../views/House/HouseNolist.vue'),
    },
    {
      path: '/housepriceadd',
      component: () => import('../views/House/HousePriceadd.vue'),
    },
    {
      path: '/housepricelist',
      component: () => import('../views/House/Housepricelist.vue'),
    },
    {
      path: '/housepriceupdate',
      component: () => import('../views/House/HousPriceupdate.vue'),
    },
  ],
})

export default router
